/*
 ============================================================================
 Name		: SputnikBarDrawer.h
 Author	  : Den Grigorenko
 Copyright   : Copyright (c) 2008 Den123
 Description : CSputnikBarDrawer - this custom control allows to display the 
               strenght of satellite signal.
 ============================================================================
*/

#ifndef __SPUTNIK_BAR_DRAWER_H__
#define __SPUTNIK_BAR_DRAWER_H__

#include <coecntrl.h> 
#include <lbssatellite.h> 

// FORWARD DECLARATIONS
class SFontData;

class CSputnikBarDrawer : public CCoeControl
{
   public:
      ~CSputnikBarDrawer();
      void ConstructL( const CCoeControl* aParent, SFontData* aFontData, TPositionSatelliteInfo* aData );

   private:	   
      void Draw( const TRect& aRect ) const;          
      TInt DrawGrid( CWindowGc& aGc, const TRect& aRect ) const;

   private:
      SFontData* iFontData;
      TPositionSatelliteInfo* iData;
};

#endif
